﻿using System.Collections.Generic;

namespace Ewk.MachineLearning.Classification.Interfaces
{
    public interface ILinkedEntity :
        IEntity,
        IEntityEquatable<ILinkedEntity>
    {
        /// <summary>
        /// Gets the links to the other entity
        /// </summary>
        IEnumerable<IFeatureLink> Links { get; }

        /// <summary>
        /// Adds a link between two entities.
        /// </summary>
        /// <param name="link">The link to add.</param>
        void AddLink(IFeatureLink link);
    }
}